|
1: |
|
app(app(minus,x),0) |
→ x |
2: |
|
app(app(minus,app(s,x)),app(s,y)) |
→ app(app(minus,x),y) |
3: |
|
app(app(quot,0),app(s,y)) |
→ 0 |
4: |
|
app(app(quot,app(s,x)),app(s,y)) |
→ app(s,app(app(quot,app(app(minus,x),y)),app(s,y))) |
5: |
|
app(app(plus,0),y) |
→ y |
6: |
|
app(app(plus,app(s,x)),y) |
→ app(s,app(app(plus,x),y)) |
7: |
|
app(app(plus,app(app(minus,x),app(s,0))),app(app(minus,y),app(s,app(s,z)))) |
→ app(app(plus,app(app(minus,y),app(s,app(s,z)))),app(app(minus,x),app(s,0))) |
8: |
|
app(app(plus,app(app(plus,x),app(s,0))),app(app(plus,y),app(s,app(s,z)))) |
→ app(app(plus,app(app(plus,y),app(s,app(s,z)))),app(app(plus,x),app(s,0))) |
|
There are 14 dependency pairs:
|
9: |
|
APP(app(minus,app(s,x)),app(s,y)) |
→ APP(app(minus,x),y) |
10: |
|
APP(app(minus,app(s,x)),app(s,y)) |
→ APP(minus,x) |
11: |
|
APP(app(quot,app(s,x)),app(s,y)) |
→ APP(s,app(app(quot,app(app(minus,x),y)),app(s,y))) |
12: |
|
APP(app(quot,app(s,x)),app(s,y)) |
→ APP(app(quot,app(app(minus,x),y)),app(s,y)) |
13: |
|
APP(app(quot,app(s,x)),app(s,y)) |
→ APP(quot,app(app(minus,x),y)) |
14: |
|
APP(app(quot,app(s,x)),app(s,y)) |
→ APP(app(minus,x),y) |
15: |
|
APP(app(quot,app(s,x)),app(s,y)) |
→ APP(minus,x) |
16: |
|
APP(app(plus,app(s,x)),y) |
→ APP(s,app(app(plus,x),y)) |
17: |
|
APP(app(plus,app(s,x)),y) |
→ APP(app(plus,x),y) |
18: |
|
APP(app(plus,app(s,x)),y) |
→ APP(plus,x) |
19: |
|
APP(app(plus,app(app(minus,x),app(s,0))),app(app(minus,y),app(s,app(s,z)))) |
→ APP(app(plus,app(app(minus,y),app(s,app(s,z)))),app(app(minus,x),app(s,0))) |
20: |
|
APP(app(plus,app(app(minus,x),app(s,0))),app(app(minus,y),app(s,app(s,z)))) |
→ APP(plus,app(app(minus,y),app(s,app(s,z)))) |
21: |
|
APP(app(plus,app(app(plus,x),app(s,0))),app(app(plus,y),app(s,app(s,z)))) |
→ APP(app(plus,app(app(plus,y),app(s,app(s,z)))),app(app(plus,x),app(s,0))) |
22: |
|
APP(app(plus,app(app(plus,x),app(s,0))),app(app(plus,y),app(s,app(s,z)))) |
→ APP(plus,app(app(plus,y),app(s,app(s,z)))) |
|
The approximated dependency graph contains one SCC:
{9,12,14,17,19,21}.